
/*
子类如:

//定义生成的文件 flutter pub run build_runner build --delete-conflicting-outputs
part 'rb_base_request.g.dart';

@JsonSerializable(explicitToJson: true)
class RBBaseRequest extends XRequest{
  String? tokenId;
  RBBaseRequest(){
    tokenId=XSharePreferencesUtils.getString(RBConfigs.SP_tokenId);
  }

  factory RBBaseRequest.fromJson(Map<String, dynamic> json) => _$RBBaseRequestFromJson(json);
  Map<String, dynamic> toJson() => _$RBBaseRequestToJson(this);

}

子类的子类

class XXXRequest extends RBBaseRequest{
  //调用父类的构造方法:super()
  XXXRequest({...}):super();
}

 */

class XRequest{


}